/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.upc.dew.cobranzas.service;

import java.util.List;
import pe.edu.upc.dew.cobranzas.dao.BancoDaoImpl;
import pe.edu.upc.dew.cobranzas.model.Banco;

/**
 *
 * @author Ivan
 */
public class BancoServiceImpl implements BancoService {

    private BancoDaoImpl bancoDao;

    public void setBancoDao(BancoDaoImpl bancoDao) {
        this.bancoDao = bancoDao;
    }

    public List<Banco> Listado() {
        return bancoDao.Listado();
    }

     public Banco getBancoxId(int idBanco){
         return bancoDao.getBancoxId(idBanco);
     }
}
